main(a,b,c,d,e,f,k,t){for(gets(&a);~scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f);puts(k-t?k>t?"Kong":"Taeyoung":"Draw"))k=a*f+b*d+c*e,t=d*c+e*a+f*b;}
